Skip to content

Remove ReportPortal-related code from the E2E TypeScript tests - #24016

Merged
dmytro-ndp merged 1 commit into
mainfrom
CRW-11790
Nov 5, 2026
Merged

dmytro-ndp merged 1 commit into
mainfrom
CRW-11790

Conversation

@dmytro-ndp

@dmytro-ndp dmytro-ndp commented Nov 5, 2026 •

Copy link
Copy Markdown
Contributor

What does this PR do?

PR removes ReportPortal-related code from E2E typescript tests.

Screenshot/screencast of this PR

What issues does this PR fix or reference?

https://redhat.atlassian.net/browse/CRW-11790

How to test this PR?

PR Checklist

As the author of this Pull Request I made sure that:

Reviewers

Reviewers, please comment how you tested the PR when approving it.

Summary by CodeRabbit

  • Chores
    • Removed ReportPortal integration from end-to-end test reporting, including launch metadata, test logs, and failure screenshot attachments.
    • Allure and JUnit reporting remain available.

@dmytro-ndp
dmytro-ndp requested a review from artaleks9 November 5, 2026 11:38
@coderabbitai

coderabbitai Bot commented Nov 5, 2026 •

Copy link
Copy Markdown

Explain Change →

No actionable comments were generated in the recent review.

Walkthrough

The E2E test setup no longer configures or uses ReportPortal. Allure and JUnit reporter settings remain, and the logger continues to emit messages through logText.

Changes: E2E reporting configuration

Layer / File(s) Summary
Reporter configuration and launch setup
tests/e2e/constants/REPORTER_CONSTANTS.ts, tests/e2e/configs/reporters.config.js, tests/e2e/configs/sh-scripts/runDevfileAcceptanceTests.sh, tests/e2e/configs/sh-scripts/runFunctionalTests.sh, tests/e2e/package.json
ReportPortal configuration, reporter options, launch-name exports, and the agent dependency are removed. The Allure and JUnit reporter settings remain.
Runtime hooks and logging
tests/e2e/specs/MochaHooks.ts, tests/e2e/utils/Logger.ts
The hooks no longer load the ReportPortal API or attach failure screenshots through it. The logger no longer forwards messages to ReportPortal and continues to log through logText.

Estimated code review effort: 2 (Simple) | ~10 minutes

Change: Other

Suggested reviewers: musienko-maxim, nallikaea

Merge Risk: Minimal · up to af17f

ReportPortal reporting is removed; no merge-blocking issue was identified.

Pre-merge checks: Passed 5

Check name Status Explanation
Description Check Passed Check skipped - CodeRabbit’s high-level summary is enabled.
Title check Passed The title clearly and concisely describes the main change: removing ReportPortal-related code from the E2E TypeScript tests.
Docstring Coverage Passed No eligible functions found in the changed files. Skipping docstring coverage check. Docstring coverage is scoped to functions touched by this diff with cyclomatic complexity of at least 2. Documentat…
Linked Issues check Passed Check skipped because no linked issues were found for this pull request.
Out of Scope Changes check Passed Check skipped because no linked issues were found for this pull request.
Full details: Docstring Coverage

Explanation

No eligible functions found in the changed files. Skipping docstring coverage check. Docstring coverage is scoped to functions touched by this diff with cyclomatic complexity of at least 2. Documentation-only edits and deletions within surviving functions are included; unchanged diff context and fully deleted functions are excluded. Analyzed 0 functions across 0 files.

Finishing Touches

Generate docstrings

  • Commit to this branch
  • Create a new PR
Generate unit tests (beta)

  • Commit to this branch
  • Create a new PR
  • Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

Share

Recent review info

Run configuration

  • Source mode: Auto
  • Repository: Unavailable
  • Branch: Unavailable
  • File: No configuration file from this repository applied
  • Commit: Unavailable
  • Layers: defaults
  • Review profile: CHILL
  • Plan: Advanced
  • Run ID: fe4b5e49-e147-48a8-bb6e-f5e07bd6f136
Commits

Reviewing files that changed from the base of the PR and between 1babfeb and af17fe9.

Files ignored due to path filters: 1

  • tests/e2e/package-lock.json is excluded by !**/package-lock.json
Files selected for processing: 7

  • tests/e2e/configs/reporters.config.js
  • tests/e2e/configs/sh-scripts/runDevfileAcceptanceTests.sh
  • tests/e2e/configs/sh-scripts/runFunctionalTests.sh
  • tests/e2e/constants/REPORTER_CONSTANTS.ts
  • tests/e2e/package.json
  • tests/e2e/specs/MochaHooks.ts
  • tests/e2e/utils/Logger.ts

Included review availability: This review used your included allowance. Your plan provides up to 8 included reviews per hour; 7 remain after this review.

@dmytro-ndp
dmytro-ndp merged commit c0b7f65 into main Nov 5, 2026
6 checks passed
@dmytro-ndp
dmytro-ndp deleted the CRW-11790 branch November 5, 2026 17:55
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants